package com.ruoyi.testDeal.domain.testItemInfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 仪检测项结果对象 yb_test_item
 * 
 * @author ruoyi
 * @date 2024-05-17
 */
@ApiModel("仪检测项结果对象")
public class YbTestItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仪表检测项id */
    private Long ybTestId;

    /** 报告编号 */
    @Excel(name = "报告编号")
    @ApiModelProperty("报告编号")
    private String reportNum;

    /** 实测值 */
    @Excel(name = "实测值")
    @ApiModelProperty("实测值")
    private String shcjg;

    /** 误差值 */
    @Excel(name = "误差值")
    @ApiModelProperty("误差值")
    private String wcjg;

    /** 单项判定 */
    @Excel(name = "单项判定")
    @ApiModelProperty("单项判定")
    private String pdjg;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty("排序")
    private String sort;

    public void setYbTestId(Long ybTestId) 
    {
        this.ybTestId = ybTestId;
    }

    public Long getYbTestId() 
    {
        return ybTestId;
    }
    public void setReportNum(String reportNum) 
    {
        this.reportNum = reportNum;
    }

    public String getReportNum() 
    {
        return reportNum;
    }
    public void setShcjg(String shcjg) 
    {
        this.shcjg = shcjg;
    }

    public String getShcjg() 
    {
        return shcjg;
    }
    public void setWcjg(String wcjg) 
    {
        this.wcjg = wcjg;
    }

    public String getWcjg() 
    {
        return wcjg;
    }
    public void setPdjg(String pdjg) 
    {
        this.pdjg = pdjg;
    }

    public String getPdjg() 
    {
        return pdjg;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ybTestId", getYbTestId())
            .append("reportNum", getReportNum())
            .append("shcjg", getShcjg())
            .append("wcjg", getWcjg())
            .append("pdjg", getPdjg())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sort", getSort())
            .toString();
    }
}
